package com.zxc.services;

import com.zxc.entity.Emp;

import java.util.List;

/**
  * @author: zxc
  * @return:
  * @time:  2021/5/18 11:05
  * @description:
  */
public interface EmpServices {

    /**
      * @author: zxc
      * @return:
      * @time:  2021/5/18 11:05
      * @description: 获取所有
      */
    List<Emp> getAll();
    /**
     * @author: zxc
     * @return:
     * @time:  2021/5/18 17:03
     * @description: 删除
     */
    int delEmp(int eno);
    /**
     * @author: zxc
     * @return:
     * @time:  2021/5/18 19:27
     * @description: 新增
     */
    int addEmp(Emp emp);

    /**
     * @author: zxc
     * @return:
     * @time:  2021/5/18 19:27
     * @description: 修改
     */
    int  updateEmp(Emp emp);
}
